package com.hakim.wfb.customer.service.convert.goods;

import com.hakim.wfb.bean.CreditPoint;
import com.hakim.wfb.bean.GoodsList;
import com.hakim.wfb.customer.result.goods.GoodsListView;
import com.hakim.wfb.customer.result.trans.CreditPointView;

/**
 * Created by leichen on 2017/7/5.
 */
public class GoodsListDtv {
    public static GoodsListView convert(GoodsList obj) {
        GoodsListView view = new GoodsListView();
        view.setTid(obj.getTid());
        view.setGlName(obj.getGlName());
        view.setGlPrice(obj.getGlPrice());
        view.setGlPic(obj.getGlPic());
        return view;
    }
}
